function buildName(firstName) {
    var restOfName = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        restOfName[_i - 1] = arguments[_i];
    }
    console.log("剩余参数", restOfName);
    console.log("所有的参数", arguments);
    console.log("剩余参数的类型", typeof restOfName);
    console.log("剩余参数的类型", typeof arguments);
    return firstName + " " + restOfName.join(" ");
}
var employeeName = buildName("Joseph", "Samuel", "Lucas", "MacKinzie");
